package com.project.drugs;

public class Drugs{
	private int Id;
	private String Name;
	private String Type;
	private String Guige;
	private double Money;
	private int Number;
	
	public Drugs(int Id,String Name,String Type,String Guige,double Money,int Number) {
		this.Id=Id;
		this.Name=Name;
		this.Type=Type;
		this.Guige=Guige;
		this.Money=Money;
		this.Number=Number;
	}
	
	public Drugs() {
		super();
	}

	
	
	public int getId() {
		return Id;
	}

	public void setId(int id) {
		Id = id;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getType() {
		return Type;
	}

	public void setType(String type) {
		Type = type;
	}

	public String getGuige() {
		return Guige;
	}

	public void setGuige(String guige) {
		Guige = guige;
	}

	public double getMoney() {
		return Money;
	}

	public void setMoney(double money) {
		Money = money;
	}

	public int getNumber() {
		return Number;
	}

	public void setNumber(int number) {
		Number = number;
	}

	//计算
	double setMoney(int myNumber) {
		return Money*myNumber;
	}
	void set_Number(int myNumber) {
		this.Number+=myNumber;
	}
	void setNumber_(int myNumber) {
		this.Number-=myNumber;
	}
		
	public static void main(String[] args) {
		
	}
}